package com.cino.demos.sourceCode.AOPdemo;

public class UserServiceImpl implements UserService {
    @Override
    public String findUserById(Long id) {
        System.out.println("  🎯 执行真实方法: findUserById(" + id + ")");
        return "User{id=" + id + ", name='张三'}";
    }
    
    @Override
    public void saveUser(String name) {
        System.out.println("  🎯 执行真实方法: saveUser('" + name + "')");
        System.out.println("  🎯 用户保存成功");
    }
}